#include "Cell.h"

Cell::Cell() {
    this->height = 0;
    this->condition = 0;
}

Cell::Cell(const int& height_val, const int& condition_val) {
    this->height = height_val;
    this->condition = condition_val;
}

Cell::Cell(const int& height_val) {
    this->height = height_val;
    this->condition = 0;
}

int Cell::get_hight() const{
    return this->height;
}

int Cell::get_condition() const{
    return this->condition;
}

void Cell::set_condition(const int& value) {
    this->condition = value;
}

int Cell::get_total() const {
    return this->get_hight() + this->get_condition();
}

